import React, { useState } from 'react'
//rfc
export default function Comstate() {
  const [name, setName] = useState<string>('chuck')
  return (
    <div>
      <div>name: {name}</div>
      <button onClick={()=>{
        setName('123')
      }}>edit Name</button>
    </div>

  )
}
